const cityData: {
  points: [number, number][];
  height: number;
  /**算法有点问题，是否需要纠正外扩/收缩相反问题 */
  rectify?: boolean;
}[] = [
  // 第一象限
  {
    points: [[6, 6], [14, 6], [14, 12], [6, 12]],
    height: 8
  },
  // 第二象限
  {
    points: [[-19, 6], [-6, 6], [-6, 14], [-13, 14], [-13, 11], [-19, 11]],
    height: 20,
    rectify: true,
  },
  {
    points: [[-32, 6], [-22, 6], [-22, 14], [-32, 14]],
    height: 20
  },
  // 第三象限
  {
    points: [[-14, -6], [-8, -6], [-8, -8], [-6, -8], [-6, -14], [-16, -14], [-16, -8], [-14, -8]],
    height: 5
  },
  // 第四象限
  {
    points: [[6, -7], [7, -7], [7, -6], [12, -6], [12, -7], [13, -7], [13, -12], [12, -12], [12, -13], [7, -13], [7, -12], [6, -12]],
    height: 25
  },
]

const roadData: {
  points: [number, number][]
  size: number
  repeatX?: number
}[] = [
  {
    points: [[-4, -200], [-4, 200]],
    size: 0.04,
  },  {
    points: [[-3.5, -200], [-3.5, 200]],
    size: 0.1,
  },  {
    points: [[-3, -200], [-3, 200]],
    size: 0.04,
  },  {
    points: [[-2.5, -200], [-2.5, 200]],
    size: 0.04,
  },  {
    points: [[-2, -200], [-2, 200]],
    size: 0.04,
  },  {
    points: [[-1.5, -200], [-1.5, 200]],
    size: 0.04,
  },
  {
    points: [[4, 200], [4, -200]],
    size: 0.04,
  }, {
    points: [[3.5, 200], [3.5, -200]],
    size: 0.1,
  }, {
    points: [[3, 200], [3, -200]],
    size: 0.04,
  }, {
    points: [[2.5, 200], [2.5, -200]],
    size: 0.04,
  }, {
    points: [[2, 200], [2, -200]],
    size: 0.04,
  }, {
    points: [[1.5, 200], [1.5, -200]],
    size: 0.1,
  },
  {
    points: [[-200, 4], [200, 4]],
    size: 0.04,
  }, {
    points: [[-200, 3.5], [200, 3.5]],
    size: 0.1,
  }, {
    points: [[-200, 3], [200, 3]],
    size: 0.04,
  }, {
    points: [[-200, 2.5], [200, 2.5]],
    size: 0.04,
  }, {
    points: [[-200, 2], [200, 2]],
    size: 0.04,
  }, {
    points: [[-200, 1.5], [200, 1.5]],
    size: 0.1,
  },
  {
    points: [[200, -4], [-200, -4]],
    size: 0.04,
  }, {
    points: [[200, -3.5], [-200, -3.5]],
    size: 0.1,
  }, {
    points: [[200, -3], [-200, -3]],
    size: 0.04,
  }, {
    points: [[200, -2.5], [-200, -2.5]],
    size: 0.04,
  }, {
    points: [[200, -2], [-200, -2]],
    size: 0.04,
  }, {
    points: [[200, -1.5], [-200, -1.5]],
    size: 0.1,
  },
]

export {
  cityData,
  roadData
}